﻿@{
    ViewBag.Title = "角色列表";
}

@model List<IdentityRole>

<div class="row">
    <div class="col-12">
        <div class="card">
            @*
            考虑到项目规格，暂不涉及角色的增删查改    
            *@
            <div class="card-body table-responsive p-3">
                <table class="table table-hover text-nowrap table-bordered">
                    <thead class="thead-dark">
                        <tr>
                            <th>角色名称</th>
                            <th>角色名称（大写）</th>
                            <th>角色编码</th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach (var item in Model)
                        {
                        <tr>
                            <td>@item.Name</td>
                            <td>@item.NormalizedName</td>
                            <td>@item.Id</td>
                        </tr>
                        }
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
